home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global md3, rantime, mp
- set rantime to the ticks
- set mp to 6
- if the name of cast the castNum of sprite 6 = "vaend" then
- set the castNum of sprite 6 to the number of cast "vastart"
- set md3 to the duration of cast the number of cast "vastart" - 3
- else
- set md3 to the duration of cast (the castNum of sprite 6 + 1) - 3
- set the castNum of sprite 6 to the castNum of sprite 6 + 1
- end if
- end
-